from qiniu import Auth,put_file,etag

AccessKey = 'zTsj6_PmluJ2MPYLMfcbHFaQBJpyz5Y6QKXbXB18'
SecretKey = 'h0hmO0CHeiV7fAqllpsEgS-Ru0VsUwyoaj2fINue'
def qiniu_token():
    q = Auth(AccessKey,SecretKey)
    bucket = 'photo-2019'
    token = q.upload_token(bucket)
    return token

